package com.young.ysepay.controllers;

import com.young.ysepay.service.YsRefundService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * describe: 银盛退款控制层
 *
 * @author zhaopengjun
 * @date 2019/6/4 17:59
 */
@RestController
@RequestMapping("/YsRefund")
public class YsRefundController {
    public static final Logger logger = LoggerFactory.getLogger(YsRefundController.class);
    private static Logger log = LoggerFactory.getLogger(YsController.class);
    @Autowired
    private YsRefundService ysRefundService;
    
    /**
     * @Author zhaopengjun
     * @Description //分账退款请求交易
     * @Date 11:25 2019/6/5
     * @Param [paraMap]
     * @return java.lang.String
     **/
   /* @PostMapping("/ysRoutingRefundRequest")
    public String ysRoutingRefundRequest(@RequestParam Map<String,Object> paraMap){
        logger.info("————————————请求参数——————————————————————————"+JSON.toJSONString(paraMap));
        return ysRefundService.ysRoutingRefundRequest(paraMap);
    }*/
    
    /**
     * @Author zhaopengjun
     * @Description //普通退款交易
     * @Date 11:37 2019/6/5
     * @Param 
     * @return 
     **/
  /*  @PostMapping("/ysRefundRequest")
    public String ysRefundRequest(@RequestParam Map<String,Object> paraMap){

        return ysRefundService.ysRefundRequest(paraMap);
    }*/
    
    /**
     * @Author zhaopengjun
     * @Description //普通退款交易查询
     * @Date 15:00 2019/6/5
     * @Param 
     * @return 
     **/
  /*  @PostMapping("/ysRefundQuery")
    public String ysRefundQuery(@RequestParam Map<String,Object> paraMap){
        return ysRefundService.ysRefundQuery(paraMap);
    }*/
}
